]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agotelepathyClient: Add our own translations for timestamps
Jasper St. Pierre [Mon, 1 Aug 2011 22:25:59 +0000 (18:25 -0400)]
telepathyClient: Add our own translations for timestamps

As an effort to prevent a string freeze to land timestamps on 3.0, we reused
translations for the calendar. Now that the string freeze is long gone, make
some proper strings.

https://bugzilla.gnome.org/show_bug.cgi?id=640271

15 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 3 Aug 2011 19:54:48 +0000 (21:54 +0200)]
Updated Spanish translation

15 years agonotificationDaemon: fix syntax error
Dan Winship [Wed, 3 Aug 2011 19:21:00 +0000 (15:21 -0400)]
notificationDaemon: fix syntax error

15 years agonotification-daemon: Add support for 'default' actions
Florian Müllner [Tue, 2 Aug 2011 13:42:45 +0000 (15:42 +0200)]
notification-daemon: Add support for 'default' actions

The notification spec supports the concept of a 'default' action:
  "The default action (usually invoked my clicking the notification)
   should have a key named "default". The name can be anything, though
   implementations are free not to display it."
Support this by invoking the 'default' action rather than a emitting
the 'clicked' signal when clicking notifications which specifie a
default action.
Also don't add an action button for the default action.

https://bugzilla.gnome.org/show_bug.cgi?id=655818

15 years agoaltTab: do a step transition instead of fading in
Rui Matos [Wed, 20 Jul 2011 18:59:58 +0000 (19:59 +0100)]
altTab: do a step transition instead of fading in

Commit 7596fdb46091c7b224dc3d1b64b95252cec1b468 makes the popup feel slow.
Instead of fading the popup in we wait a bit and show it instantly.

https://bugzilla.gnome.org/show_bug.cgi?id=652346

15 years agomain: Add Main.notify() for simple system messages
Florian Müllner [Thu, 28 Jul 2011 18:06:24 +0000 (20:06 +0200)]
main: Add Main.notify() for simple system messages

... similar to Main.notifyError(), but don't duplicate the message
on stderr/in the log.

https://bugzilla.gnome.org/show_bug.cgi?id=652718

15 years agoshell: fail cleanly if XFixesGetCursorImage fails
Dan Winship [Wed, 3 Aug 2011 15:12:32 +0000 (11:12 -0400)]
shell: fail cleanly if XFixesGetCursorImage fails

from Mageia, via Olav Vitters
https://bugzilla.gnome.org/show_bug.cgi?id=653119

15 years agolayout: make Chrome an implementation detail of LayoutManager
Dan Winship [Mon, 25 Jul 2011 13:53:19 +0000 (09:53 -0400)]
layout: make Chrome an implementation detail of LayoutManager

Make the Chrome object be a private member of LayoutManager, and add
new LayoutManager methods to proxy to the old Chrome methods.

https://bugzilla.gnome.org/show_bug.cgi?id=655813

15 years agolayout: merge chrome.js into layout.js
Dan Winship [Mon, 25 Jul 2011 13:56:51 +0000 (09:56 -0400)]
layout: merge chrome.js into layout.js

LayoutManager and Chrome are already somewhat intertwined and will be
becoming more so. As a first step in merging them, move the Chrome
object into layout.js (with no other code changes).

https://bugzilla.gnome.org/show_bug.cgi?id=655813

15 years agolookingGlass: put this in the chrome layer
Dan Winship [Mon, 25 Jul 2011 13:47:44 +0000 (09:47 -0400)]
lookingGlass: put this in the chrome layer

Looking Glass is supposed to slide out from underneath the panel.
Rather than fiddling with Main.chrome.actor directly, just add the lg
actor to the chrome, and fix its stacking there.

https://bugzilla.gnome.org/show_bug.cgi?id=655813

15 years agomessageTray: move the summary notification out of MessageTray.actor
Dan Winship [Wed, 27 Jul 2011 14:03:30 +0000 (10:03 -0400)]
messageTray: move the summary notification out of MessageTray.actor

With the old pre-boxpointer summary notifications, it sort of made
sense that the summary notification actor was a child of the message
tray. But there's no reason for that now, and in fact, it ends up
requiring special cases in some places since hovering over the summary
notification counts as hovering over the tray. So, fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=655813

15 years agopanel: move the corners into the panel actor
Dan Winship [Thu, 21 Jul 2011 14:49:04 +0000 (10:49 -0400)]
panel: move the corners into the panel actor

Rather than having the panel corners as independent bits of chrome and
manually syncing their positions, put them inside the panel actor, and
update the panel's allocation code to position them correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=655813

15 years agochrome: Make affectsStruts default to false
Dan Winship [Thu, 21 Jul 2011 14:18:15 +0000 (10:18 -0400)]
chrome: Make affectsStruts default to false

Since we only want it to be true for the panel, and nothing else.

https://bugzilla.gnome.org/show_bug.cgi?id=655813

15 years agoSt: fix container paint volumes
Dan Winship [Mon, 1 Aug 2011 19:16:45 +0000 (15:16 -0400)]
St: fix container paint volumes

If a container is not clip-to-allocation, then its get_paint_volume()
needs to include the paint volumes of all of its children, since they
(or their children) may paint outside the container's allocation.

Also, if the superclass get_paint_volume() returns FALSE, then the
subclass should return FALSE too.

https://bugzilla.gnome.org/show_bug.cgi?id=655812

15 years agoshell-global: remove "gratuitous" meta_plugin_* calls
Dan Winship [Thu, 24 Mar 2011 20:12:33 +0000 (16:12 -0400)]
shell-global: remove "gratuitous" meta_plugin_* calls

MetaPlugin wraps a bunch of compositor (and plain metacity) methods
that we can just call ourselves, so just do that. (Presumably this
dates back to some ancient time when it was imagined that plugins
wouldn't need access to the full metacity API.)

https://bugzilla.gnome.org/show_bug.cgi?id=654639

15 years agoshell-global: add a "display" property
Dan Winship [Wed, 13 Jul 2011 16:34:31 +0000 (12:34 -0400)]
shell-global: add a "display" property

and update callers to fetch that rather than doing
"global.screen.get_display()"

https://bugzilla.gnome.org/show_bug.cgi?id=654639

15 years agoshell-global: keep better track of screens and displays
Dan Winship [Wed, 13 Jul 2011 16:22:32 +0000 (12:22 -0400)]
shell-global: keep better track of screens and displays

Rather than constantly asking mutter for the MetaScreen, and then
figuring out the MetaDisplay/Display/etc from there, just keep track
of everything we care about inside ShellGlobal.

https://bugzilla.gnome.org/show_bug.cgi?id=654639

15 years agopolkit: Update style of password entry
Florian Müllner [Wed, 27 Jul 2011 14:53:45 +0000 (16:53 +0200)]
polkit: Update style of password entry

Use a subtle gradient background and add a blue border when focused.

https://bugzilla.gnome.org/show_bug.cgi?id=655422

15 years agotheme: make modal dialog buttons match the mockups
Allan Day [Tue, 2 Aug 2011 15:29:02 +0000 (16:29 +0100)]
theme: make modal dialog buttons match the mockups

The buttons should have a glassy transparent look. Also, they should not
be as tall, should light up on hover, and their labels should be white
in order to stand out. Making the labels solid white requires removing the
transparency set in modalDialog.js. Also, add a separate color setting
for the dialog as a whole - this avoids having a white icon.

https://bugzilla.gnome.org/show_bug.cgi?id=655428

15 years agoAdded Malay translation
Umarzuki Bin Mochlis Moktar [Wed, 3 Aug 2011 08:17:22 +0000 (10:17 +0200)]
Added Malay translation

15 years agoshell-app-system: Load settings apps
Florian Müllner [Mon, 1 Aug 2011 22:29:28 +0000 (00:29 +0200)]
shell-app-system: Load settings apps

When porting to the new gnome-menus API in commit 8f3bdd4f1, the
initial loading of settings apps was left out, so settings panels
are neither found nor can be launched from the top panel menus.

15 years agoTheme: match message tray and panel box pointers
Allan Day [Mon, 1 Aug 2011 19:54:42 +0000 (20:54 +0100)]
Theme: match message tray and panel box pointers

Panel box pointers were recently updated to match the mockups. Message
tray box pointers should look the same. Update the corner radius, stroke
colour and pointer dimensions to match.

https://bugzilla.gnome.org/show_bug.cgi?id=655627

15 years agost-container: fix a misspelled variable name
Dan Winship [Mon, 1 Aug 2011 18:28:34 +0000 (14:28 -0400)]
st-container: fix a misspelled variable name

15 years agognome-shell.modules: Import gnome-menus
Colin Walters [Mon, 1 Aug 2011 18:16:13 +0000 (14:16 -0400)]
gnome-shell.modules: Import gnome-menus

15 years agoPort to new gnome-menus API
Colin Walters [Mon, 18 Apr 2011 20:05:47 +0000 (16:05 -0400)]
Port to new gnome-menus API

Since gnome-menus is now introspectable, eventually we can drop
ShellAppSystem entirely.  For now though, just do the basic port.

https://bugzilla.gnome.org/show_bug.cgi?id=648149

15 years agoAdded StButtonAccessible
Alejandro Piñeiro [Mon, 23 May 2011 19:35:28 +0000 (21:35 +0200)]
Added StButtonAccessible

Basic skeleton and the proper role (ATK_ROLE_PUSH_BUTTON)

15 years agopanelMenu: add a gap between the panel and its menus
Dan Winship [Sat, 30 Jul 2011 17:24:24 +0000 (13:24 -0400)]
panelMenu: add a gap between the panel and its menus

The specs call for a 2 pixel gap between the panel and its menus,
though we need to specify this as 4 pixels, since it's relative to the
bottom of the icon/title, not the bottom of the panel (up until now,
the point of the menu arrow was actually overlapping the menu's
highlight underline).

Also, move the gap specification into the CSS, since it makes more
sense there.

https://bugzilla.gnome.org/show_bug.cgi?id=655627

15 years agoFix critical when setting a NULL label
Giovanni Campagna [Mon, 1 Aug 2011 14:14:23 +0000 (16:14 +0200)]
Fix critical when setting a NULL label

st_label_set_text() does not accept NULL, and emits a g_critical
in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=654638

15 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 1 Aug 2011 13:42:24 +0000 (15:42 +0200)]
Updated POTFILES.in

15 years agoTheme: improve menu popup appearance
Allan Day [Sat, 30 Jul 2011 12:00:16 +0000 (13:00 +0100)]
Theme: improve menu popup appearance

Make menu popups fully match the mockups by changing the stroke
colour, pointer and corner radius size. This has the benefit of
distinguishing the menu from the background and gives it a subtler
appearance that fits the shell's aesthetic.

https://bugzilla.gnome.org/show_bug.cgi?id=655627

15 years agoUse "Region and Language Settings" label
Jeremy Bicha [Sun, 17 Jul 2011 07:35:08 +0000 (03:35 -0400)]
Use "Region and Language Settings" label

Since this link in the keyboard menu points to Region and Language
Settings in System Settings, we should be consistent and use that
term instead of "Localization Settings"

Also, this removes ellipsis from "Show Keyboard Layout" since it
doesn't require further input.

https://bugzilla.gnome.org/show_bug.cgi?id=652984

15 years agoAdd markup.js to TEST_JS
Owen W. Taylor [Wed, 27 Jul 2011 23:09:54 +0000 (19:09 -0400)]
Add markup.js to TEST_JS

15 years agoRequire GJS 1.29.15
Owen W. Taylor [Wed, 27 Jul 2011 22:26:43 +0000 (18:26 -0400)]
Require GJS 1.29.15

15 years agoAlways include gnome-shell-jhbuild.in in EXTRA_DIST
Owen W. Taylor [Wed, 27 Jul 2011 23:02:21 +0000 (19:02 -0400)]
Always include gnome-shell-jhbuild.in in EXTRA_DIST

15 years agoBump version to 3.1.4
Owen W. Taylor [Wed, 27 Jul 2011 22:37:50 +0000 (18:37 -0400)]
Bump version to 3.1.4

Update NEWS

15 years agochrome: Ignore minimized windows when updating visibility
Florian Müllner [Wed, 27 Jul 2011 19:41:44 +0000 (21:41 +0200)]
chrome: Ignore minimized windows when updating visibility

The current check for fullscreen windows ignores the window's
minimization state, so that chrome which is hidden in fullscreen
will always hide if the window on top of the window stack is
fullscreen, even if it is actually minimized.
Instead, skip minimized windows when looking for fullscreen windows.

https://bugzilla.gnome.org/show_bug.cgi?id=655446

15 years agoNotificationDaemon: only remove the source if notification sender is removed from...
Marina Zhurakhinskaya [Wed, 27 Jul 2011 21:08:08 +0000 (17:08 -0400)]
NotificationDaemon: only remove the source if notification sender is removed from DBus and the application is set

This ensures that we don't remove "notify-send" sources, senders of which are
removed from DBus immediately.

15 years agotests: add a test for MessageTray._fixMarkup
Dan Winship [Wed, 18 May 2011 18:54:05 +0000 (14:54 -0400)]
tests: add a test for MessageTray._fixMarkup

https://bugzilla.gnome.org/show_bug.cgi?id=650298

15 years agotests: fix up typelib include paths
Dan Winship [Wed, 18 May 2011 18:52:27 +0000 (14:52 -0400)]
tests: fix up typelib include paths

The js modules have so many imports back and forth that it's pretty
much guaranteed that if you import even one of them, you'll end up
importing all of them, including ui.status.bluetooth and
ui.status.network. So fix up the typelib include paths the same way
gnome-shell-jhbuild does, so we can find everything.

https://bugzilla.gnome.org/show_bug.cgi?id=650298

15 years agomessageTray: improve bad-markup handling
Dan Winship [Wed, 4 May 2011 15:15:45 +0000 (11:15 -0400)]
messageTray: improve bad-markup handling

_fixMarkup() was supposed to be ensuring that the markup we passed to
clutter was correct, but it was validating the syntax incorrectly, and
wasn't checking that the markup was valid (or even well-formed). This
is bad because if you pass bad pango markup to
clutter_text_set_markup(), it will g_warn and drop the string on the
floor.

Fix by fixing up the regexps, and then calling Pango.parse_markup() on
the result, and just xml-escaping everything if parse_markup() fails.

https://bugzilla.gnome.org/show_bug.cgi?id=650298

15 years agoUpdated Slovak translation
Michal Štrba [Tue, 26 Jul 2011 13:12:15 +0000 (15:12 +0200)]
Updated Slovak translation

15 years ago[l10n] Updated Italian translation
Luca Ferretti [Sat, 23 Jul 2011 18:13:56 +0000 (20:13 +0200)]
[l10n] Updated Italian translation

15 years agoUpdated Russian translation
Yuri Kozlov [Sat, 23 Jul 2011 17:34:36 +0000 (21:34 +0400)]
Updated Russian translation

15 years agomain: add logStackTrace(), for debugging
Dan Winship [Wed, 20 Jul 2011 17:45:31 +0000 (13:45 -0400)]
main: add logStackTrace(), for debugging

Add Main.logStackTrace(), to print a (javascript) stack trace, which
is often useful when debugging.

https://bugzilla.gnome.org/show_bug.cgi?id=654987

15 years agoRevert "wip: cross fade the window_group and window clones going in/out of the overview"
Rui Matos [Tue, 19 Jul 2011 23:45:53 +0000 (00:45 +0100)]
Revert "wip: cross fade the window_group and window clones going in/out of the overview"

This reverts commit 162559159827227d418afd1f712f79c1d3a4a353.

15 years agoRevert "volume.js: make slider menu items activatable"
Rui Matos [Tue, 19 Jul 2011 23:45:29 +0000 (00:45 +0100)]
Revert "volume.js: make slider menu items activatable"

This reverts commit a50c30a4fde52e0173754f84f2990a4b70ca5b7a.

15 years agorunDialog: catch exceptions from Gio.app_info_launch_default_for_uri()
Rui Matos [Wed, 6 Jul 2011 19:43:49 +0000 (20:43 +0100)]
runDialog: catch exceptions from Gio.app_info_launch_default_for_uri()

An uncaught exception here would mean that the dialog wouldn't close.

https://bugzilla.gnome.org/show_bug.cgi?id=653700

15 years agowip: cross fade the window_group and window clones going in/out of the overview
Rui Matos [Mon, 4 Jul 2011 17:35:01 +0000 (18:35 +0100)]
wip: cross fade the window_group and window clones going in/out of the overview

https://bugzilla.gnome.org/show_bug.cgi?id=653868

15 years agovolume.js: make slider menu items activatable
Rui Matos [Fri, 6 May 2011 16:34:19 +0000 (17:34 +0100)]
volume.js: make slider menu items activatable

Keeping the volume menu open after setting the desired volume isn't that
useful and forces a second click (or an Esc press) to dismiss it. Allow for
the sliders to be used with a single click-hold-move-release.

https://bugzilla.gnome.org/show_bug.cgi?id=649586

15 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 19 Jul 2011 20:27:47 +0000 (22:27 +0200)]
Updated Slovenian translation

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 18 Jul 2011 11:50:22 +0000 (13:50 +0200)]
Updated Norwegian bokmål translation

15 years agoPunjabi Translation is updated
A S Alam [Mon, 18 Jul 2011 02:59:25 +0000 (08:29 +0530)]
Punjabi Translation is updated

15 years agotelepathyClient: Code cleanup
Jasper St. Pierre [Sun, 17 Jul 2011 19:25:42 +0000 (15:25 -0400)]
telepathyClient: Code cleanup

Move a function to where it's used and rename "_createSource"
to reflect that it creates *chat* sources.

https://bugzilla.gnome.org/show_bug.cgi?id=654791

15 years agotelepathyClient: Fix undefined variable
Jasper St. Pierre [Sun, 17 Jul 2011 19:18:33 +0000 (15:18 -0400)]
telepathyClient: Fix undefined variable

https://bugzilla.gnome.org/show_bug.cgi?id=654791

15 years agoUpdated Spanish translation
Jorge González [Sun, 17 Jul 2011 10:14:53 +0000 (12:14 +0200)]
Updated Spanish translation

15 years agoviewSelector: Bind <Ctrl>+<Return> for open new window
Maxim Ermilov [Sat, 16 Jul 2011 19:27:05 +0000 (23:27 +0400)]
viewSelector: Bind <Ctrl>+<Return> for open new window

https://bugzilla.gnome.org/show_bug.cgi?id=613082

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 16 Jul 2011 14:27:41 +0000 (17:27 +0300)]
Updated Hebrew translation.

15 years agoApprove audio/video channels
Guillaume Desmottes [Mon, 11 Jul 2011 11:09:45 +0000 (13:09 +0200)]
Approve audio/video channels

Support the old (StreamedMedia) and new (Call) API for now as the latter is
still used.

https://bugzilla.gnome.org/show_bug.cgi?id=653939

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 15 Jul 2011 07:55:09 +0000 (10:55 +0300)]
Updated Hebrew translation.

15 years agopanel, layout: clean up HotCorner handling
Dan Winship [Thu, 14 Jul 2011 12:35:55 +0000 (08:35 -0400)]
panel, layout: clean up HotCorner handling

Move the HotCorner class from panel to layout, and make the panel
manage its own HotCorner.

Stick the panel's HotCorner into the Activities button actor (rather
than separately floating above it), so that hover tracking on the
button works properly without needing hacks in HotCorner.

https://bugzilla.gnome.org/show_bug.cgi?id=645759

15 years agopanel: make ActivitiesButton a PanelMenu.Button
Dan Winship [Thu, 14 Jul 2011 12:56:14 +0000 (08:56 -0400)]
panel: make ActivitiesButton a PanelMenu.Button

The fact that everything in the top bar except the activities button
was a menu made various things difficult. Simplify this by making the
activities button be a menu too, but just hack it up a bit so that the
menu associated with the button never actually appears.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=645759 (Clicking on
Activities with menu up leaves a funny state) and its semi-dup 641253
(panel keynav between Activities and menus is quirky).

15 years agopanel: abstract ActivitiesButton into its own class
Dan Winship [Thu, 14 Jul 2011 12:53:44 +0000 (08:53 -0400)]
panel: abstract ActivitiesButton into its own class

https://bugzilla.gnome.org/show_bug.cgi?id=645759

15 years ago[l10n] Updated German translation
Mario Blättermann [Thu, 14 Jul 2011 18:27:45 +0000 (20:27 +0200)]
[l10n] Updated German translation

15 years agomain: filter out "tp-glib/proxy-DEBUG" messages
Dan Winship [Thu, 14 Jul 2011 18:07:01 +0000 (14:07 -0400)]
main: filter out "tp-glib/proxy-DEBUG" messages

15 years ago[l10n] Updated German translation
Paul Seyfert [Thu, 14 Jul 2011 17:59:20 +0000 (19:59 +0200)]
[l10n] Updated German translation

15 years agochrome: don't show visibleInOverview chrome when the screensaver is active
Dan Winship [Mon, 6 Jun 2011 15:05:34 +0000 (11:05 -0400)]
chrome: don't show visibleInOverview chrome when the screensaver is active

visibleInOverview chrome was visible even when the screensaver was
active. Although we may eventually need visibleInScreenSaver, that
should be a separate flag.

Fix this by tracking the screensaver active state, and hiding the chrome
when the screensaver is active.

https://bugzilla.gnome.org/show_bug.cgi?id=654550

15 years agoscreenSaver: bugfixes
Dan Winship [Wed, 13 Jul 2011 19:07:39 +0000 (15:07 -0400)]
screenSaver: bugfixes

Fix the signal handling; you can't use this.connect('ActiveChanged')
to connect to a D-Bus signal after replacing the signal methods with
the lang.signals versions. Just leave it using the D-Bus signal names,
just like it uses the D-Bus method names.

Also, remove the "_" from "_screenSaverActive", to match what
AutomountManager checks for, and remove getActive(), since it's not
needed.

https://bugzilla.gnome.org/show_bug.cgi?id=654550

15 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 14 Jul 2011 12:36:41 +0000 (14:36 +0200)]
Updated Slovenian translation

15 years agoTurn RoomInviteSource to a more generic source
Guillaume Desmottes [Mon, 11 Jul 2011 10:59:23 +0000 (12:59 +0200)]
Turn RoomInviteSource to a more generic source

All the approving source will be basically the same.

https://bugzilla.gnome.org/show_bug.cgi?id=653939

15 years agostatusMenu: Fix typo in user switching commit
Colin Walters [Wed, 13 Jul 2011 21:43:23 +0000 (17:43 -0400)]
statusMenu: Fix typo in user switching commit

15 years agoUse CLUTTER_CAIRO_FORMAT_ARGB32: rather then doing a byte order check
Adel Gadllah [Wed, 13 Jul 2011 20:14:45 +0000 (22:14 +0200)]
Use CLUTTER_CAIRO_FORMAT_ARGB32: rather then doing a byte order check

Clutter 1.7.x introduced CLUTTER_CAIRO_FORMAT_ARGB32: which can be used when
sharing textures/data with cairo without having to do check the
byte order and choose the appropriate format by hand.

https://bugzilla.gnome.org/show_bug.cgi?id=654577

15 years agomessage-tray: Move check for _actorDestroyed into _setCount()
Florian Müllner [Wed, 13 Jul 2011 20:23:03 +0000 (22:23 +0200)]
message-tray: Move check for _actorDestroyed into _setCount()

As _updateCount has been designed to be overwritable by subclasses,
move the check for _actorDestroyed into _setCount(), to fix the
problem described in commit 5f6ac33d5 in derived types as well.

15 years agoautorun-manager: Fix 'destroy' handler of resident source
Florian Müllner [Wed, 13 Jul 2011 19:22:35 +0000 (21:22 +0200)]
autorun-manager: Fix 'destroy' handler of resident source

If the resident source is destroyed, it should be recreated
immediately, so that it is available when another volume is
mounted. However, we only connect to the 'destroy' signal
on the original source, not on newly created ones. As a result,
the resident source only works twice, after that it shows up
without icon and an empty notification.

Fix by always connecting to the source's 'destroy' signal.

15 years agoextension-tool: Clean up code creator, update sample
Jasper St. Pierre [Thu, 23 Jun 2011 01:32:08 +0000 (21:32 -0400)]
extension-tool: Clean up code creator, update sample

Update the sample to be more up to date with respect to Shell practices,
and make it look a bit prettier. Additionally, change the file extract
code so that it's easier to update and add new files later.

https://bugzilla.gnome.org/show_bug.cgi?id=653206

15 years agoextension-tool: Use socket.gethostname() instead of an external process
Jasper St. Pierre [Thu, 23 Jun 2011 01:29:20 +0000 (21:29 -0400)]
extension-tool: Use socket.gethostname() instead of an external process

Minor code cleanup.

https://bugzilla.gnome.org/show_bug.cgi?id=653206

15 years agotrivial: update .gitignore
Cosimo Cecchi [Wed, 13 Jul 2011 18:59:22 +0000 (14:59 -0400)]
trivial: update .gitignore

15 years agomessage-tray: Don't update message count after destruction
Florian Müllner [Tue, 12 Jul 2011 23:18:58 +0000 (01:18 +0200)]
message-tray: Don't update message count after destruction

When trying to update the message count after a summary icon has
been destroyed, the label to display the count is no longer valid
and trying to set its text results in some Clutter warnings.

15 years agoautomount: handle the drive-eject-button signal
Cosimo Cecchi [Mon, 27 Jun 2011 16:13:54 +0000 (12:13 -0400)]
automount: handle the drive-eject-button signal

The implementation is untested, as the signal is not emitted from the
Gdu GVfs volume monitor yet.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautomount: emit sounds when a drive is connected/disconnected
Cosimo Cecchi [Mon, 27 Jun 2011 15:51:23 +0000 (11:51 -0400)]
automount: emit sounds when a drive is connected/disconnected

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agomount-operation: implement ask-password for mounting encrypted volumes
Cosimo Cecchi [Tue, 12 Jul 2011 15:29:49 +0000 (11:29 -0400)]
mount-operation: implement ask-password for mounting encrypted volumes

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: prefer Safe Removal over eject/unmount if possible
Cosimo Cecchi [Thu, 23 Jun 2011 14:08:17 +0000 (10:08 -0400)]
autorun: prefer Safe Removal over eject/unmount if possible

Basically do what NautilusPlacesSidebar does with the drive/volume/mount
eject/unmount/stop priorities.

We follow this pattern:
- always prefer Safely Remove if available (i.e. drive.stop())
- fallback to ejecting the mount/volume/drive if that's not possible
- finally, fallback to unmounting the mount if even eject is not
  available

This also means we don't care about the distinction between
Stop/Eject/Unmount at this level. Disk Utility (or Nautilus) are
available for those who want that degree of control, but the common case
here should do the most useful action without presenting the choice.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agomount-operation: implement ask-question
Cosimo Cecchi [Tue, 12 Jul 2011 15:44:08 +0000 (11:44 -0400)]
mount-operation: implement ask-question

Use a system modal dialogs for mount operation questions.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agomount-operation: add a ShellMountOperation implementation
Cosimo Cecchi [Wed, 22 Jun 2011 20:43:16 +0000 (16:43 -0400)]
mount-operation: add a ShellMountOperation implementation

Ideally, this would be an entirely-JS implementation, but we have a
couple of issues with gjs and gobject-introspection to work around, so
we need a ShellMountOperation class for the time being.

This first commit implements the show-processes dialog, with a system
modal style very similar to the EndSession dialog.
Implementations of ask-question and ask-password will follow shortly.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautomount: only autorun volumes marked as allowed
Cosimo Cecchi [Wed, 22 Jun 2011 13:45:03 +0000 (09:45 -0400)]
automount: only autorun volumes marked as allowed

Port code from g-s-d to mark volumes as allowed for autorun, and check
for it when running the notification.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: integrate with the shell sniffer process
Cosimo Cecchi [Tue, 12 Jul 2011 14:37:14 +0000 (10:37 -0400)]
autorun: integrate with the shell sniffer process

If possible, use the results from the sniffer process in order to have
less-generic alternatives to the file manager in the proposed autorun
choices.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agosniffer: add a mimetype sniffer helper executable
Cosimo Cecchi [Tue, 12 Jul 2011 14:34:41 +0000 (10:34 -0400)]
sniffer: add a mimetype sniffer helper executable

The sniffer is a simple helper process, activated as a DBus service,
that tries to crawl as many files as possible in the provided target
directory (i.e. the new mount's root), for a maximum amount of time -
which is set here to 1.5 seconds (i.e. it will crawl either all the
files in the directory tree, or as many as it can before the specified
timeout expires).

Crawled files are ordered by their content type, and a generic estimation
of the type of files composing the directory is returned to the caller,
using generic 'x-content/*' mimetypes.

The process will then set an autoquit timeout on itself, which can be
disabled by setting the env variable HOTPLUG_SNIFFER_PERSIST for
debugging purposes. The HOTPLUG_SNIFFER_DEBUG env variable can also be
set to enable debugging output.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: follow per content-type gsettings preferences for autorun
Cosimo Cecchi [Mon, 11 Jul 2011 13:31:56 +0000 (09:31 -0400)]
autorun: follow per content-type gsettings preferences for autorun

Autorun preferences can be fine-tweaked at the content-type level from
the System Settings 'Removable Media' panel.
Use those settings to figure out the default action for newly-mounted
mounts.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautomount: add an AutomountManager class
Cosimo Cecchi [Mon, 20 Jun 2011 19:16:40 +0000 (15:16 -0400)]
automount: add an AutomountManager class

The AutomountManager class is the low-level counterpart of the
previously introduced AutorunManager, and takes care of extracting the
list of valid mounts from a GVolume or a GDrive and mounting them,
provided a number of conditions and requirements are met.

AutomountManager also keeps track of the current session availability
(using the ConsoleKit and gnome-screensaver DBus interfaces) and
inhibits mounting if the current session is locked, or another session
is in use instead.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoautorun: add an AutorunManager class
Cosimo Cecchi [Tue, 12 Jul 2011 13:47:43 +0000 (09:47 -0400)]
autorun: add an AutorunManager class

AutorunManager is a class that takes care of displaying and managing
notifications and UI for storage devices.

When a mount appears and a number of conditions are satisified, a
transient notification will be displayed to immediately interact with
the device. AutorunTransientDispatcher is the object that takes care of
showing/hiding the notification sources as devices appear/disappear.

Likewise, current mounts are kept in a list and presented within a
list in a resident notification, handled by AutorunResidentSource.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agoscreensaver: factor out a ScreenSaverProxy helper class
Cosimo Cecchi [Tue, 12 Jul 2011 15:42:33 +0000 (11:42 -0400)]
screensaver: factor out a ScreenSaverProxy helper class

This class will be shared between StatusMenu and the upcoming
AutomountManager classes.

https://bugzilla.gnome.org/show_bug.cgi?id=653520

15 years agostatusMenu.js: Ensure screensaver is locked before switching users
Colin Walters [Tue, 5 Jul 2011 13:29:05 +0000 (09:29 -0400)]
statusMenu.js: Ensure screensaver is locked before switching users

Somewhat similar to (see bug 637540), we need to lock the screensaver
*before* asking GDM to switch.

https://bugzilla.gnome.org/show_bug.cgi?id=654565

15 years agobuild: Remove gnome-power-manager
Florian Müllner [Sat, 9 Jul 2011 15:28:22 +0000 (17:28 +0200)]
build: Remove gnome-power-manager

The DBus interface for the battery status is now provided by the
power plugin of gnome-settings-daemon, so there's real reason to
keep building gnome-power-manager.

https://bugzilla.gnome.org/show_bug.cgi?id=654300

15 years agopower: Remove _checkError()
Florian Müllner [Sat, 9 Jul 2011 15:23:03 +0000 (17:23 +0200)]
power: Remove _checkError()

On error, we tried to kill and respawn gnome-power-manager, but
as of commit c5676900 the DBus interface provided by g-s-d's power
plugin is used, so the respawning does not have any effect.

https://bugzilla.gnome.org/show_bug.cgi?id=654300

15 years agobuild: Remove upower from the moduleset
Florian Müllner [Sat, 9 Jul 2011 15:16:18 +0000 (17:16 +0200)]
build: Remove upower from the moduleset

The upower version in the moduleset is too old for the power plugin
of gnome-settings-daemon. As at least Fedora and Ubuntu have a
recent enough version in their repositories, use that instead of
bumping the version in the moduleset.

https://bugzilla.gnome.org/show_bug.cgi?id=654300

15 years agomain: Fix small memory leak in main.c
Jasper St. Pierre [Sat, 9 Jul 2011 21:07:46 +0000 (17:07 -0400)]
main: Fix small memory leak in main.c

==17386== 1,669 (88 direct, 1,581 indirect) bytes in 1 blocks are definitely lost in loss record 4,090 of 4,151
==17386==    at 0x4C24AF4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17386==    by 0x691B099: g_malloc0 (in /usr/lib/libglib-2.0.so.0.2800.8)
==17386==    by 0x692006A: g_option_context_new (in /usr/lib/libglib-2.0.so.0.2800.8)
==17386==    by 0x5124C57: meta_get_option_context (in /usr/lib/libmutter.so.0.0.0)
==17386==    by 0x401D4F: main (in /usr/bin/gnome-shell)

https://bugzilla.gnome.org/show_bug.cgi?id=654269

15 years agognome-shell-jhbuild.in: Fix restore_gnome.
Jasper St. Pierre [Wed, 13 Jul 2011 17:08:43 +0000 (13:08 -0400)]
gnome-shell-jhbuild.in: Fix restore_gnome.

The gconf keys used to restore GNOME aren't in a proper GNOME3 environment.
To mimic what GNOME3 gnome-session does would be extremely complicated, so
just launch the system gnome-shell.

https://bugzilla.gnome.org/show_bug.cgi?id=654527

15 years agoNetworkMenu: take out an item from More... when another is destroyed
Giovanni Campagna [Mon, 27 Jun 2011 15:45:24 +0000 (17:45 +0200)]
NetworkMenu: take out an item from More... when another is destroyed

When one of the networks in the main menu is removed and we have
a More... submenu, we can take the first out from the submenu and
show it in the main menu.

https://bugzilla.gnome.org/show_bug.cgi?id=647175

15 years agost-entry: Inherit all colors
Jasper St. Pierre [Sat, 9 Jul 2011 08:41:32 +0000 (04:41 -0400)]
st-entry: Inherit all colors

https://bugzilla.gnome.org/show_bug.cgi?id=643768

15 years agotheme: Add selected text color
Jasper St. Pierre [Wed, 2 Mar 2011 21:22:20 +0000 (16:22 -0500)]
theme: Add selected text color

This should improve readability of text that's selected.

https://bugzilla.gnome.org/show_bug.cgi?id=643768

15 years agost-entry: Support a different color for selected text
Jasper St. Pierre [Wed, 2 Mar 2011 21:18:42 +0000 (16:18 -0500)]
st-entry: Support a different color for selected text

This should improve readability in text entries where the text
color is very close to the color of the selection.

https://bugzilla.gnome.org/show_bug.cgi?id=643768